'use strict';
exports.main = async (event, context) => {
	//cid是分类id
	const cid = event.cid || 26;
	//start是该分类列表的当前的指针，用于分页
	const start = event.start || 0;
	const res = await uniCloud.httpclient.request(`http://wallpaper.apc.360.cn/index.php?c=WallPaper&a=getAppsByCategory&cid=${cid}&start=${start}`);
	return res.data
};
